package Student;

import java.util.ArrayList;

public class ClassManager {
    private ArrayList<String> classes;

    public ClassManager() {
        classes = new ArrayList<>();
    }

    public void addClass(String className) {
        classes.add(className);
        System.out.println("已新增班级: " + className);
    }

    public ArrayList<String> getClasses() {
        return classes;
    }
}
